package edu.ucsc.gameAI;

import java.util.Random;

import pacman.game.Constants.MOVE;
import pacman.game.Game;
import edu.ucsc.gameAI.Debug.MESSAGETYPE;
import edu.ucsc.gameAI.decisionTrees.binary.IBinaryNode;

public class MoveRandomlyAction implements IAction, IBinaryNode {
	private Random rnd=new Random();
	
	public void doAction() {
		/*
		Debug.debug("MoveRandomlyAction::DOACTION", MESSAGETYPE.ACTION);
		int pacManCurrentNode = game.getPacmanCurrentNodeIndex();
		
		
		MOVE[] randomMoves = game.getPossibleMoves(pacManCurrentNode, game.getPacmanLastMoveMade());
		return randomMoves[rnd.nextInt(randomMoves.length)];
		*/
	}
	
	public MOVE getMove() {
		// TODO Auto-generated method stub
		return MOVE.RIGHT;
	}
	
	public IAction makeDecision(Game game) {return this;}
}
